package com.niuniu.rushdorm.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author rambo
 * 2022/11/25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "buildings")
public class Building {
    @TableId(type = IdType.AUTO)
    private long id;
    private String name;
    private int order_num;
    private int is_valid;
    private String remarks;
    private String describe;
    private String image_url;
    @TableLogic(value = "0", delval = "1")
    private int is_del;
    private int status;
}
